#ifndef ARTICLETEXTEDIT_H
#define ARTICLETEXTEDIT_H

#include <QTextEdit>

class ArticleTextEdit : public QTextEdit
{
public:
    explicit ArticleTextEdit(QWidget *parent = nullptr);
    explicit ArticleTextEdit(const QString &text, QWidget *parent = nullptr);
    virtual ~ArticleTextEdit();

    // QWidget interface
protected:
    void keyPressEvent(QKeyEvent *event) override;
};

#endif // ARTICLETEXTEDIT_H
